package com.liu.nb.service.impl;

import com.liu.nb.entity.LoginLog;
import com.liu.nb.mapper.LoginLogMapper;
import com.liu.nb.service.ILoginLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 登录日志表 服务实现类
 * </p>
 *
 * @author liuziyi
 * @since 2021-08-31
 */
@Service
public class LoginLogServiceImpl extends ServiceImpl<LoginLogMapper, LoginLog> implements ILoginLogService {
    @Resource
    private LoginLogMapper loginLogMapper;
    @Override
    public List<LoginLog> getById(int id) {
        return loginLogMapper.getById(id);
    }
}
